package com.bole.pojo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 留言实体类
 */
@Document(collection = "leaving")
@Data
public class LeavingDo {
    @Id
    private String id;
    private Long BuyUserId;
    private Long SellUserId;
    private String message;
    private Date MessageTime;
    private String pid;
}
